﻿using Abp.AutoMapper;
using Akso.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.DataMaintains.Dto
{
    /// <summary>
    /// 新增、编辑页面显示数据时的Dto对象，可以被其它Dto使用。
    /// </summary>
    [AutoMap(typeof(BillOtherCheck))]
    public class OtherCheckEditDto
    {
        public Guid? Id { get; set; }
        [Required]
        [MaxLength(BillOtherCheck.MaxNameLength)]
        public string CheckName { get; set; }
        [MaxLength(BillOtherCheck.MaxeCheckTypeLength)]
        public string CheckType { get; set; }
        public int CheckTypeId { get; set; }
        [MaxLength(BillOtherCheck.MaxRemarkLength)]
        public string Remark { get; set; }
    }
}
